﻿@{
    ViewBag.Title = "Dimension";
}
@using PortalLogReport.Models

@section style
{
    <link href="/Content/bootstrap/css/bootstrap.css" rel="stylesheet">
}

<ol class="breadcrumb">
    <li><a href="/home">Home</a></li>
    <li class="active">Setting</li>
</ol>
<h3>Level-1</h3>
<a class="btn btn-success btn-sm" href="\Settings\DimensionEdit">New</a>

<table class="table table-striped">
    <thead>
        <tr>
            <th class="col-xs-1">#</th>
            <th class="col-xs-4">Dim</th>
            <th class="col-xs-4">Dim Text</th>
            <th>FRQCY</th>
            <th class="col-xs-2"></th>
        </tr>
    </thead>
    <tbody>
        @foreach (Level1Model lm in ViewBag.Level1Models)
        {
            <tr>
                <td><a class="btn btn-link" href="\Settings\Level2\@lm.Id">@lm.Id</a></td>
                <td>@lm.Dim1</td>
                <td>@lm.Dim1_Text</td>
                <td>@lm.FRQCY</td>
                <td><a class="btn btn-link" href="\Settings\DimensionEdit\@lm.Id">Edit</a><a class="btn btn-link" href="\Settings\Level1Delete\@lm.Id">Del</a></td>
            </tr>
        }
    </tbody>
</table>

@section scripts{
    <script src="/Content/bootstrap/js/bootstrap.js"></script>
}
